from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^question/$', views.QuestionAPIView.as_view()),
    url(r'^question/(?P<pk>\d+)/$', views.AskAPIView.as_view()),
    url(r'^label/$', views.LabelAPIView.as_view()),
    url(r'^label/(?P<pk>\d+)/$', views.LabelDatailAPIView.as_view()),
    url(r'^submit/$', views.CreateQuestionAPIView.as_view()),

]